<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8"/>
	<title>新增新星</title>
	<meta name="renderer" content="webkit" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
	<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<meta name="format-detection" content="telephone=no"/>
	<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../css/user.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" id="personAddForm">
	<div class="user_left">
		<div class="layui-form-item">
			<label class="layui-form-label">姓 名</label>
			<div class="layui-input-block">
				<input type="text" th:value="${actor.name}" name="name"  class="layui-input" />
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">身高(CM)</label>
			<div class="layui-input-block">
				<input type="text" th:value="${actor.height}" name="height"  class="layui-input" />

			</div>

		</div>
		<!--<div class="layui-form-item">
			<label class="layui-form-label">真实姓名</label>
			<div class="layui-input-block">
				<input type="text" value="" placeholder="请输入真实姓名" lay-verify="required" class="layui-input realName">
			</div>
		</div>-->
		<div class="layui-form-item" pane="">
			<label class="layui-form-label">性别</label>
			<div class="layui-input-block userSex">
				<input type="radio" name="gender" value="0" title="男" checked="" />
				<input type="radio" name="gender" value="1" title="女" />
				<input type="radio" name="gender" value="2" title="保密" />
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">联系方式</label>
			<div class="layui-input-block">
				<input type="tel" th:value="${actor.contact}" name="contact" placeholder="请输入手机号码" lay-verify="required|phone" class="layui-input userPhone"/>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">星座</label>
			<div class="layui-input-block">
				<select name="constellation" class="newsLook" lay-filter="browseLook" id="navType">
					<option th:each="nav,iterStat:${cList}" th:value="${iterStat.index}" th:text="${nav}"></option>
				</select>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">出生年月</label>
			<div class="layui-input-block">
				<input type="text" th:value="${actor.birth}" name="birth" placeholder="请输入出生年月" lay-verify="required|date" onclick="layui.laydate({elem: this,max: laydate.now()})" class="layui-input userBirthday"/>
			</div>
		</div>
		<!--<div class="layui-form-item userAddress">
			<label class="layui-form-label">家庭住址</label>
			<div class="layui-input-inline">
				<select name="province" lay-filter="province">
					<option value="">请选择省</option>
				</select>
			</div>
			<div class="layui-input-inline">
				<select name="city" lay-filter="city" disabled="disabled">
					<option value="">请选择市</option>
				</select>
			</div>
			<div class="layui-input-inline">
				<select name="area" lay-filter="area" disabled="disabled">
					<option value="">请选择县/区</option>
				</select>
			</div>
		</div>-->
		<div class="layui-form-item">
			<label class="layui-form-label">描述</label>
			<div class="layui-input-block">
				<textarea placeholder="请输入内容" th:value="${actor.description}" name="description" class="layui-textarea myself"></textarea>
			</div>
		</div>
	</div>
	<div class="user_right">
		<input type="file" id="actorUpload" name="file" class="layui-upload-file" lay-title="选择明星头像"/>
		<p>由于是纯静态页面，所以只能显示一张随机的图片</p>
		<img src="" class="layui-circle" id="actorFace" height="200" width="200"/>
		<input type="hidden" name="faceurl" id="faceurl" value=""/>
	</div>
	<!--<div class="layui-upload">
		<button type="button" class="layui-btn" id="test1">上传图片</button>
		<div class="layui-upload-list">
			<img class="layui-upload-img" id="demo1">
			<p id="demoText"></p>
		</div>
	</div>-->
	<div class="layui-form-item" style="margin-left: 5%;">
		<div class="layui-input-block">
			<button class="layui-btn" lay-submit="submitPerson" lay-filter="submitPerson">立即提交</button>
			<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="../../js/uManager/address.js"></script>
<script type="text/javascript" src="../../js/uManager/person.js?version=1.0.1"></script>
</body>
</html>